-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: enhance quick stats #1706
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
few smol nits but LGTM
label='24h Change' | ||
value={`${formatAmount(navchange, 2)}%`} | ||
overrideLabelColor={navchange >= 0 ? 'text-ic-green' : 'text-ic-red'} | ||
value={`${formatAmount(data.token.navchange, 2)}%`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could use formatPercentage
instead here
low24h: formatStatsAmount(base.low24h, baseCurrency), | ||
high24h: formatStatsAmount(base.high24h, baseCurrency), | ||
}, | ||
token: { ...token }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: spread syntax not needed, could just be token,
both fixed in #1718 |
Summary of Changes
By submitting this pull request, you are confirming the following to be true:
IndexCoop/index-app
.